package pruebaFactory;

public interface IVehiculo {

	public String getNombre();

	public static class Auto implements IVehiculo {

		@Override
		public String getNombre() {
			return "Auto";
		}
	}
	public static class Moto implements IVehiculo {

		@Override
		public String getNombre() {
			return "Moto";
		}
	}
	public static class Camion implements IVehiculo {

		@Override
		public String getNombre() {
			return "Camion";
		}
	}
}
